/*
 *  添加用户界面
 */
var util = require('../../utils/util.js');
var app = getApp();
Page({
  data: {
    dialog5: {
      hidden: true
    },
    upload: { hidden: true },
    moeny: "待支付",
    ynumber: "",
  },
  onLoad: function (option) {
    var that = this;
    that.setData({ 'dialog5.hidden': false });
    var ynumberwww = option.ynumber
    var that = this;
    var customer_no = ynumberwww;
    var data = {
      customer_no: customer_no
    }
    util.ajax("post", "/smallRoutineController/showall", data, function (res) {
        console.log(res)
        that.setData({ list: res.list });
        that.setData({ 'dialog5.hidden': true });
    })

    
  },
 uploadChange: function (e) {
    this.setData({
      upload: {
        hidden: true
      }
    });
  },
  shenghe: function () {
    util.msg("提示", "请前往管理处审核");
  },
  update: function () {
    wx.redirectTo({
      url: '../showuser/showuser'
    })
  },
  exit: function () {
    util.indexk("提示", "确定退出吗？");
  },
  adduser: function () {
    var phoneto="";
    wx.navigateTo({
      url: '../adduser/adduser?phoneto=' + phoneto
    })
  }
})